package com.edu.study.base.StuAnswerResultDetail.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生答题结果明细对象 stu_answer_result_detail
 * 
 * @author jjt
 * @date 2021-06-20
 */
public class StuAnswerResultDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学生答题结果表汇总表ID */
    @Excel(name = "学生答题结果表汇总表ID")
    private Long studentAnswerResultId;

    /** app用户ID */
    @Excel(name = "app用户ID")
    private Long appUserId;

    /** 题库id */
    @Excel(name = "题库id")
    private Long questionLibraryId;

    /** 答题内容 */
    @Excel(name = "答题内容")
    private String answerContent;

    @Excel(name = "批改评语")
    private String correctContent;

    /** 题目状态 */
    @Excel(name = "题目状态")
    private String answerJudgeStatus;

    /** 得分数 */
    @Excel(name = "得分数")
    private BigDecimal scoreValue;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date answerStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date answerEndTime;

    /** 共计时长 */
    @Excel(name = "共计时长")
    private Long totalDuration;

    /** 其他 */
    @Excel(name = "其他")
    private String otherInfo;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUserId;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long updateUserId;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private String deleteFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentAnswerResultId(Long studentAnswerResultId) 
    {
        this.studentAnswerResultId = studentAnswerResultId;
    }

    public Long getStudentAnswerResultId() 
    {
        return studentAnswerResultId;
    }
    public void setAppUserId(Long appUserId) 
    {
        this.appUserId = appUserId;
    }

    public Long getAppUserId() 
    {
        return appUserId;
    }
    public void setQuestionLibraryId(Long questionLibraryId) 
    {
        this.questionLibraryId = questionLibraryId;
    }

    public Long getQuestionLibraryId() 
    {
        return questionLibraryId;
    }
    public void setAnswerContent(String answerContent) 
    {
        this.answerContent = answerContent;
    }

    public String getAnswerContent() 
    {
        return answerContent;
    }
    public void setAnswerJudgeStatus(String answerJudgeStatus) 
    {
        this.answerJudgeStatus = answerJudgeStatus;
    }

    public String getAnswerJudgeStatus() 
    {
        return answerJudgeStatus;
    }
    public void setScoreValue(BigDecimal scoreValue) 
    {
        this.scoreValue = scoreValue;
    }

    public BigDecimal getScoreValue() 
    {
        return scoreValue;
    }
    public void setAnswerStartTime(Date answerStartTime) 
    {
        this.answerStartTime = answerStartTime;
    }

    public Date getAnswerStartTime() 
    {
        return answerStartTime;
    }
    public void setAnswerEndTime(Date answerEndTime) 
    {
        this.answerEndTime = answerEndTime;
    }

    public Date getAnswerEndTime() 
    {
        return answerEndTime;
    }
    public void setTotalDuration(Long totalDuration) 
    {
        this.totalDuration = totalDuration;
    }

    public Long getTotalDuration() 
    {
        return totalDuration;
    }
    public void setOtherInfo(String otherInfo) 
    {
        this.otherInfo = otherInfo;
    }

    public String getOtherInfo() 
    {
        return otherInfo;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }

    public String getCorrectContent() {
        return correctContent;
    }

    public void setCorrectContent(String correctContent) {
        this.correctContent = correctContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentAnswerResultId", getStudentAnswerResultId())
            .append("appUserId", getAppUserId())
            .append("questionLibraryId", getQuestionLibraryId())
            .append("answerContent", getAnswerContent())
            .append("answerJudgeStatus", getAnswerJudgeStatus())
            .append("scoreValue", getScoreValue())
            .append("answerStartTime", getAnswerStartTime())
            .append("answerEndTime", getAnswerEndTime())
            .append("totalDuration", getTotalDuration())
            .append("otherInfo", getOtherInfo())
            .append("createDate", getCreateDate())
            .append("createUserId", getCreateUserId())
            .append("updateDate", getUpdateDate())
            .append("updateUserId", getUpdateUserId())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
